import Vue from 'vue'
import Router from 'vue-router'
const login = require('@/components/login')
const admin = require('@/components/admin/admin')
const front = require('@/components/front/front')



Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      components: login
    },
    {
      path: '/login',
      name: 'login',
      components: login
    },
    {
      path: '/a',
      name:'admin',
      components: admin
    },
    {
      path: '/f',
      name:'front',
      components: front
    }
  ]
})
